// conf.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"

#include "raw.h"

#include "Imagehlp.h"
#pragma comment(lib, "Imagehlp.lib")
#pragma comment(linker, "/RELEASE")

int main(int argc, char* argv[])
{
	AppRaw().LoadGlobal();
	AppRaw().LoadUserProfile("whoo.conf");
	int i = AppRaw().system.account.retry;
	AppRaw().system.account.retry = 33;
	i = AppRaw().system.account.retry;
	//AppRaw().system.account.retry.Reset();
	i = AppRaw().system.account.retry;

//	AppRaw().WriteLocalProfile();
	AppRaw().WriteUserProfile("whoo.conf");

	DWORD dw1 = 1, dw2 = 2;
	MapFileAndCheckSum(argv[0], &dw1, &dw2);
	printf("\n\n%d:%d", dw1, dw2);
	return 0;
}
